package com.ledi.guns.common.persistence.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 代理商信息表
 * </p>
 *
 * @author zhongxp
 * @since 2018-03-19
 */
@TableName("t_agent_info")
public class AgentInfo extends Model<AgentInfo> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
	@TableId(value="id", type= IdType.AUTO)
	private Long id;
    /**
     * 省
     */
	private String province;
    /**
     * 市
     */
	private String city;
    /**
     * 区
     */
	private String area;
    /**
     * 具体地址
     */
	@TableField("specific_addr")
	private String specificAddr;
    /**
     * 联系人
     */
	@TableField("contact_people")
	private String contactPeople;
    /**
     * 联系方式
     */
	@TableField("contact_tel")
	private String contactTel;
    /**
     * 开户行
     */
	@TableField("accounts_bank")
	private String accountsBank;
    /**
     * 银行卡号
     */
	@TableField("card_num")
	private String cardNum;
    /**
     * 备注
     */
	private String remarks;
	@TableField("create_time")
	private Date createTime;
	@TableField("creator_role")
	private String creatorRole;
	@TableField("creator_id")
	private Long creatorId;
	@TableField("update_time")
	private Date updateTime;
	@TableField("updater_role")
	private String updaterRole;
	@TableField("updater_id")
	private Long updaterId;
	@TableField("is_delete")
	private Integer isDelete;
    /**
     * 版本号
     */
	@TableField("version_no")
	private Integer versionNo;
    /**
     * 代理商名称
     */
	@TableField("agent_name")
	private String agentName;
	@TableField("open_province")
	private String openProvince;
	@TableField("open_city")
	private String openCity;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getArea() {
		return area;
	}

	public void setArea(String area) {
		this.area = area;
	}

	public String getSpecificAddr() {
		return specificAddr;
	}

	public void setSpecificAddr(String specificAddr) {
		this.specificAddr = specificAddr;
	}

	public String getContactPeople() {
		return contactPeople;
	}

	public void setContactPeople(String contactPeople) {
		this.contactPeople = contactPeople;
	}

	public String getContactTel() {
		return contactTel;
	}

	public void setContactTel(String contactTel) {
		this.contactTel = contactTel;
	}

	public String getAccountsBank() {
		return accountsBank;
	}

	public void setAccountsBank(String accountsBank) {
		this.accountsBank = accountsBank;
	}

	public String getCardNum() {
		return cardNum;
	}

	public void setCardNum(String cardNum) {
		this.cardNum = cardNum;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getCreatorRole() {
		return creatorRole;
	}

	public void setCreatorRole(String creatorRole) {
		this.creatorRole = creatorRole;
	}

	public Long getCreatorId() {
		return creatorId;
	}

	public void setCreatorId(Long creatorId) {
		this.creatorId = creatorId;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getUpdaterRole() {
		return updaterRole;
	}

	public void setUpdaterRole(String updaterRole) {
		this.updaterRole = updaterRole;
	}

	public Long getUpdaterId() {
		return updaterId;
	}

	public void setUpdaterId(Long updaterId) {
		this.updaterId = updaterId;
	}

	public Integer getIsDelete() {
		return isDelete;
	}

	public void setIsDelete(Integer isDelete) {
		this.isDelete = isDelete;
	}

	public Integer getVersionNo() {
		return versionNo;
	}

	public void setVersionNo(Integer versionNo) {
		this.versionNo = versionNo;
	}

	public String getAgentName() {
		return agentName;
	}

	public void setAgentName(String agentName) {
		this.agentName = agentName;
	}

	public String getOpenProvince() {
		return openProvince;
	}

	public void setOpenProvince(String openProvince) {
		this.openProvince = openProvince;
	}

	public String getOpenCity() {
		return openCity;
	}

	public void setOpenCity(String openCity) {
		this.openCity = openCity;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "AgentInfo{" +
			"id=" + id +
			", province=" + province +
			", city=" + city +
			", area=" + area +
			", specificAddr=" + specificAddr +
			", contactPeople=" + contactPeople +
			", contactTel=" + contactTel +
			", accountsBank=" + accountsBank +
			", cardNum=" + cardNum +
			", remarks=" + remarks +
			", createTime=" + createTime +
			", creatorRole=" + creatorRole +
			", creatorId=" + creatorId +
			", updateTime=" + updateTime +
			", updaterRole=" + updaterRole +
			", updaterId=" + updaterId +
			", isDelete=" + isDelete +
			", versionNo=" + versionNo +
			", agentName=" + agentName +
			", openProvince=" + openProvince +
			", openCity=" + openCity +
			"}";
	}
}
